package com.hrm.dao;

import com.hrm.entity.EmpVacation;
import com.hrm.entity.EmpVacationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EmpVacationMapper {


    boolean updateEmpVacation(EmpVacation empVacation);

    EmpVacation selectById(Integer vacationId);


    //
    long countByExample(EmpVacationExample example);

    int deleteByExample(EmpVacationExample example);

    int deleteByPrimaryKey(Integer vacationReqId);

    int insert(EmpVacation record);

    int insertSelective(EmpVacation record);

    List<EmpVacation> selectByExample(EmpVacationExample example);

    EmpVacation selectByPrimaryKey(Integer vacationReqId);

    int updateByExampleSelective(@Param("record") EmpVacation record, @Param("example") EmpVacationExample example);

    int updateByExample(@Param("record") EmpVacation record, @Param("example") EmpVacationExample example);

    int updateByPrimaryKeySelective(EmpVacation record);

    int updateByPrimaryKey(EmpVacation record);

    List<EmpVacation> applyVacationList(Integer empId);
}